package com.gragra.util;
/**
 * provides the same functionality as replace with self, but also ensures
 * that all characters are in downcase according to the default local
 * @author Christoph Teichmann
 * created Oct 28, 2012 9:38:42 PM
 * @version 0.1
 */
public class ReplaceWithSelfAndDownCase extends ReplaceWithSelf
{
	/* (non-Javadoc)
	 * @see com.gragra.util.ReplaceWithSelf#process(java.lang.String)
	 */
	@Override
	protected String process(String string)
	{
		return super.process(string.toLowerCase());
	}
	/**
	 * creates a new instance with the given string of caracters
	 * @see com.gragra.util.ReplaceWithSelf
	 * @param toReplace
	 */
	public ReplaceWithSelfAndDownCase(String toReplace)
	{super(toReplace);}
}